<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      // 写一个小车的对象
      var car = {
        color: "red", //键值对
        height: 1.8,
        suv: true,
        luntai: [1, 2, 3, 4],
        start: function () {
          console.log("启动！");
        },
        stop: function () {
          console.log("熄火！");
        },
      };
      console.log(car);
    </script>
  </body>
</html>
